package com.cyh.core.login.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "userinfo")
@Data
public class UserInfo implements Serializable {

    @Id
    @Column(name = "uid")
    private Integer Uid;

    @Column(name="sex")
    private String Sex;

    @Column(name="birthday")
    private Date Birthday;

    @Column(name="detail")
    private String Detail;

}
